package com.jx.model;

import java.io.Serializable;

public class Product implements Serializable{
	private int pid;
	private String pname;
	private double pprice;
	private String pintroduce;
	private String ppicture;
	private int pcount;
	private String pmodel;
	private String psize;
	private String pcolor;
	private int pstate;
	private int cid;
	private String cname;
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public double getPprice() {
		return pprice;
	}
	public void setPprice(double pprice) {
		this.pprice = pprice;
	}
	public String getPintroduce() {
		return pintroduce;
	}
	public void setPintroduce(String pintroduce) {
		this.pintroduce = pintroduce;
	}
	public String getPpicture() {
		return ppicture;
	}
	public void setPpicture(String ppicture) {
		this.ppicture = ppicture;
	}
	public int getPcount() {
		return pcount;
	}
	public void setPcount(int pcount) {
		this.pcount = pcount;
	}
	public String getPmodel() {
		return pmodel;
	}
	public void setPmodel(String pmodel) {
		this.pmodel = pmodel;
	}
	public String getPsize() {
		return psize;
	}
	public void setPsize(String psize) {
		this.psize = psize;
	}
	public String getPcolor() {
		return pcolor;
	}
	public void setPcolor(String pcolor) {
		this.pcolor = pcolor;
	}
	public int getPstate() {
		return pstate;
	}
	public void setPstate(int pstate) {
		this.pstate = pstate;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Product(int pid, String pname, double pprice, String pintroduce, String ppicture, int pcount, String pmodel,
			String psize, String pcolor, int pstate, int cid) {
		super();
		this.pid = pid;
		this.pname = pname;
		this.pprice = pprice;
		this.pintroduce = pintroduce;
		this.ppicture = ppicture;
		this.pcount = pcount;
		this.pmodel = pmodel;
		this.psize = psize;
		this.pcolor = pcolor;
		this.pstate = pstate;
		this.cid = cid;
	}
	public Product(String pname, double pprice, String pintroduce, String ppicture, int pcount, String pmodel,
			String psize, String pcolor, int pstate, int cid) {
		super();
		this.pname = pname;
		this.pprice = pprice;
		this.pintroduce = pintroduce;
		this.ppicture = ppicture;
		this.pcount = pcount;
		this.pmodel = pmodel;
		this.psize = psize;
		this.pcolor = pcolor;
		this.pstate = pstate;
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public Product(int pid, String pname, double pprice, String pintroduce, String ppicture, int pcount, String pmodel,
			String psize, String pcolor, int pstate, int cid, String cname) {
		super();
		this.pid = pid;
		this.pname = pname;
		this.pprice = pprice;
		this.pintroduce = pintroduce;
		this.ppicture = ppicture;
		this.pcount = pcount;
		this.pmodel = pmodel;
		this.psize = psize;
		this.pcolor = pcolor;
		this.pstate = pstate;
		this.cid = cid;
		this.cname = cname;
	}
	public Product(String pname, double pprice, String pintroduce, String ppicture, int pcount, String pmodel,
			String psize, String pcolor, int pstate, int cid, String cname) {
		super();
		this.pname = pname;
		this.pprice = pprice;
		this.pintroduce = pintroduce;
		this.ppicture = ppicture;
		this.pcount = pcount;
		this.pmodel = pmodel;
		this.psize = psize;
		this.pcolor = pcolor;
		this.pstate = pstate;
		this.cid = cid;
		this.cname = cname;
	}
	
	
	
	
}
